![]() | http://www.wavecom.com/forum Release version: 3.04 |
This application uses the ADL GPRS service to setup the GPRS bearer, open
the session and the FCM flows with the ADL GPRS service.
The +GSET command has to be used to set-up the GPRS connection.
These command parameters are saved in non volatile memory.
Then, with the +PING command, it sends ping requests to an IP addr and waits the reception of the
answers.
AT+GSET (GPRS settings command)
| Command | Answers |
| AT+GSET? | +GSET:
<APN>
,
<UN>
,
<PW>
,
<Fixed IP>
OK |
| AT+GSET=? | +GSET:
(100)
,
(50)
,
(50)
,
(15)
OK |
| AT+GSET= <APN> ,[ <UN> ],[ <PW> ],[ <Fixed IP> ] | +CME ERROR: 3 or OK |
| Parameter | Values range | Description | Default value |
| APN | 100 | GPRS APN | "" |
| UN | 50 | User Name | "" |
| PW | 50 | Password | "" |
| Fixed IP | 15 | Fixed IP | "" |
AT+PING (PING process command)
| Command | Answers |
| AT+PING=? | +PING:
(0-3)
,
(15)
,
(28-u32)
,
(28-1500)
,
(1-255)
OK |
| AT+PING? | +PING:
<SentNb>
,
<IP>
,
<t_size>
,
<p_size>
,
<time>
OK |
| AT+PING= <mode> ,[ <IP> ],[ <t_size> ],[ <p_size> ],[ <time> ] | +CME ERROR: 3 or OK |
| Parameter | Values range | Description | Default value |
| mode | 0-3 | 0 - disables GPRS session and closes FCM flows. 1 - process the session activation, opens the FCM flow, and sends ping packets to the destination address. 2 - restart the ping packets sending. 3 - just process the session activation. | mandatory |
| SentNb | u16 | Number of sent packets on the last data transfer | NA |
| IP | 15 | Destination IP address | "" |
| t_size | 28-u32 | Total data size to send to the remote host | 400 |
| p_size | 28-1500 | Ping packets size (including the header size) The number of packets to send is t_size / p_size The last packet size is t_size % p_size (with a minimum 28 bytes header size) | 100 |
| time | 1-255 | Time (in 100ms steps) to wait before sending the next packet. | 10 |
Updated : Thu Apr 27 14:12:36 CEST 2006